package com.jerry.service;

import com.jerry.DO.FileChunkMeta;
import com.jerry.DO.MetaFile;
import com.jerry.DTO.CompleteChunkFileDTO;
import com.jerry.DTO.FileMeta;

import java.util.List;

public interface MetaService {
    MetaFile generate(FileMeta fileMeta);

    void complteteChunk(CompleteChunkFileDTO completeChunkFileDTO);

    MetaFile meta(String bucketName, String filename);

    List<MetaFile> files(String filetype);

    List<FileChunkMeta> chunkInfo(String bucketName, String fileName, Integer chunkNo);

    void delete(String bucketName, String fileName);

   /* void completeChunk(CompleteChunkFileDTO completeChunkFileDTO);
    MetaFile meta(String bucketName, String filename);
    List<BucketVO> files();
    void delete(String bucketName, String fileName);
    List<FileChunkMeta> chunkInfo(String bucketName, String fileName, Integer chunkNo);*/

}
